runtime.m.ncgo (field)
10 uses
runtime (current package)
cgocall.go#L183: mp.ncgo++
cgocall.go#L190: mp.ncgo--
cgocall.go#L370: if gp.m.isextra && gp.m.ncgo == 0 {
cgocall.go#L423: if gp.m.ncgo == 0 {
cgocall.go#L502: if mp.ncgo > 0 {
cgocall.go#L504: mp.ncgo--
proc.go#L1102: return mp.ncgo > 0 || mp.isextra
proc.go#L5793: if mp.ncgo > 0 && mp.curg != nil && mp.curg.syscallpc != 0 && mp.curg.syscallsp != 0 {
runtime2.go#L666: ncgo int32 // number of cgo calls currently in progress
traceback.go#L826: if iscgo && gp.m != nil && gp.m.ncgo > 0 && gp.syscallsp != 0 && gp.m.cgoCallers != nil && gp.m.cgoCallers[0] != 0 {
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |